#ifndef DEMUX_H
#define DEMUX_H

#include "word.h"
#include "input.h"
#include "output.h"
#include "control.h"
#include "sync.h"

template <int C, int M, int N>
struct Demux : 
  public Input   <1, N>, 
  public Output  <M, N>, 
  public Control <C>,
  public Sync {

  virtual void cycle();
}; 

#endif /* DEMUX_H */
